package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserDao;
import com.appkubes.mall.core.entity.MallUser;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserService extends AbstractBaseService<BaseMallUserDao, MallUser> {

    MallUser getOneByEntity(MallUser entity);

    List<MallUser> selectListByEntity(MallUser entity);

    IPage<MallUser> selectPageByEntity(IPage<MallUser> page);
    IPage<MallUser> selectPageByEntity(PageVO pageVO);

    IPage<MallUser> selectPageByEntity(MallUser entity, IPage<MallUser> page);
    IPage<MallUser> selectPageByEntity(MallUser entity, PageVO pageVO);

    IPage<MallUser> selectPageByEntity(MallUser entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUser entity);
}
